package com.allwees.bs.c.module.user.req;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ShippingAddressUpdateDefaultReq {

    private Integer isDefault;

    public boolean isDef(){
        return isDefault != null && isDefault == 1;
    }
}
